package com.huayue.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.huayue.entity.Credit;
import com.huayue.service.CreditService;
import com.huayue.util.PageHelper;

/**
 * 统计
 */
@Controller
@RequestMapping("/credit")
public class CreditController {
    @Autowired
    CreditService svc;

    BaseController bc = new BaseController();

    @RequestMapping("/findPage")
    public ModelAndView findPage(PageHelper page, Credit credit) {
        return bc.findPage(svc, page, credit, credit);
    }
}
